package transfersvc

import (
	"gluenet/internal/agent/depend"
	"gluenet/internal/agent/driver/rpcdriver"
)

func (svc *Service) PostDataToManager(topic string, data []byte) error {
	svc.logger.Debugf("receive data: ")
	return depend.Produce[rpcdriver.RpcDriver]().Push(topic, data)
}
